{literal}
<script>
	//サイドメニュー右
	function moveNextPage(page){
		// POSTパラメータ
		var post_params = "pageNum=" + (page + 1);
		document.getElementById('mpMenuSearchList').innerHTML = "<p align='center'>更新しています。<br>しばらくお待ちください...<br><img src='/app/images/common/ajax-loader.gif'></p>";
		$.ajax({
			type: "post",
			cache: false,
			url: "/mypage/menu/searchlist",
			data: post_params,
			success: function (result) {
				document.getElementById('mpMenuSearchList').innerHTML = result;
			}
		});
	}
	//サイドメニュー左
	function moveBackPage(page){
		// POSTパラメータ
		var post_params = "pageNum=" + (page - 1);
		document.getElementById('mpMenuSearchList').innerHTML = "<p align='center'>更新しています。<br>しばらくお待ちください...<br><img src='/app/images/common/ajax-loader.gif'></p>";
		$.ajax({
			type: "post",
			cache: false,
			url: "/mypage/menu/searchlist",
			data: post_params,
			success: function (result) {
				document.getElementById('mpMenuSearchList').innerHTML = result;
			}
		});
	}
	//削除ボタン処理
	function delConditon(Tourokubi){
		// POSTパラメータ
		var post_params = "delFG=1&joukenKbn=" + Tourokubi;
		document.getElementById('mpMenuSearchList').innerHTML = "<p align='center'>更新しています。<br>しばらくお待ちください...<br><img src='/app/images/common/ajax-loader.gif'></p>";
		$.ajax({
			type: "post",
			cache: false,
			url: "/mypage/menu/searchlist",
			data: post_params,
			success: function (result) {
				document.getElementById('mpMenuSearchList').innerHTML = result;
			}
		});
	}
	//お気に入り物件数更新
	function resetFavoriteCnt(){
		document.getElementById('mpMenuFavoriteCnt').innerHTML = "<p align='center'>更新しています。<br>しばらくお待ちください...<br><img src='/app/images/common/ajax-loader.gif'></p>";
		$.ajax({
			type: "post",
			cache: false,
			url: "/mypage/menu/favoritecnt",
			data: "",
			success: function (result) {
				document.getElementById('mpMenuFavoriteCnt').innerHTML = result;
			}
		});
	}
</script>
{/literal}